<div id="search" class="content-div index-view" transition="fade">
  <div class="empty-div"></div>
	<div class="new-public">
    <div class="header">
      <div class="title">搜索结果</div>
      <div class="linear"></div>
      <div class="btn-buy">求购专区</div>
    </div>
    <div class="body">
      <ul class="list clearfix">
        <li v-for="item in list">
          <div class="pic">
            <img :src="item.pic0" v-link="{name:'item', query:{iid:item.iid}}"/>
          </div>
          <div class="info">
            <div class="price"><span>¥</span><span class="blod" v-text="item.price"></span></div>
            <div class="name" v-html="item.iName|searchText text" v-link="{name:'item', query:{iid:item.iid}}"></div>
            <div class="place">
              <i class="icon MS-icon-location2"></i>
              <span v-text="item.place"></span>
            </div>
          </div>
        </li>
      </ul>
      <div class="paging">
        <ul v-show="pageLength>1">
          <li @click="pageNumber>0 && pageTo(pageNumber-1)" :class="pageNumber===0?'cancel':''">上一页</li>
          <li v-for="i in pageLength"
            @click="pageTo(i + minPage)"
            v-text="i + minPage + 1"
            :class="i + minPage === pageNumber?'active':''"
            v-if="i + minPage<=maxPage"></li>
          <li @click="pageNumber < maxPage && pageTo(pageNumber+1)" :class="pageNumber===lastPage?'cancel':''">下一页</li>
        </ul>
      </div>
    </div>
  </div>
</div>